﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Web.Mvc;

namespace Garden.t
{
    [TestClass]
    public class HomeController_uts
    {
        [TestMethod]
        public void IndexRendersNamelessView()
        {
            p.Controllers.HomeController hc = new p.Controllers.HomeController();

            ViewResult result = hc.Index();

            Assert.IsNotNull(result, "No index view rendered");
            Assert.AreEqual("", result.ViewName);
        }
    }
}
